<%inherit file="instance_base.html" />

<%block name="innav">
<li>${ _("Configure Password For Instance") }</li>
</%block>

<%block name="submain">
<div>
  <form method="POST">${ xsrf_form_html() }
    <fieldset>
      <legend>${ _("Configure Password For Instance") }</legend>
      <label for="usedefault">
        <input id="usedefault" type="checkbox" name="usedefault">${ _("Use Global Password ?") }</label>
      ${ form.html_errors(form.usedefault.errors) }

      ${ form.password.label } ${ form.password() }
      ${ form.html_errors(form.password.errors) }

      ${ form.confirm.label } ${ form.confirm() }
      ${ form.html_errors(form.confirm.errors) }
      <br>
      <button type="submit" class="btn">${ _("Submit") }</button>
    </fieldset>
  </form>
</div>
</%block>
